\begin{sequencediagram}
  \newhiddenthread{t}{:Thread}
  \newinst[1]{i}{:Instance}

  \begin{call}{t}{function()}{i}{return value}
  \end{call}
\end{sequencediagram}
